<template>
  <div>我是ref子组件</div>
</template>

<script>
export default {
  setup () {
    const fn = () => {
      console.log('我是子组件的方法')
    }
    return { fn }
  }
}
</script>

<style lang="scss" scoped>
</style>
